﻿using BCEntity.TMS.VehicleTransportFaqCategory;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BCData.TMS.VehicleTransportFaqCategory
{
    public interface IVehicleTransportFaqCategoryData
    {
        Task<bool> DeleteAsync(long vehicleTransportFaqCategoryId);
        Task<VehicleTransportFaqCategoryEntity> GetEntityAsync(long vehicleTransportFaqCategoryId);
        Task<VehicleTransportFaqCategoryEntity> GetByFaqCategoryAsync(string faqCategory);
        Task<(IEnumerable<VehicleTransportFaqCategoryEntity>, int)> GetListAsync(string faqCategory, int pageIndex, int pageSize);
        Task<IEnumerable<VehicleTransportFaqCategoryEntity>> GetListAsync(string faqCategory);
        Task<VehicleTransportFaqCategoryEntity> InsertAsync(VehicleTransportFaqCategoryEntity entity);
        Task<VehicleTransportFaqCategoryEntity> UpdateAsync(VehicleTransportFaqCategoryEntity entity);
    }
}